import request from '../utils/axios'

/**
 * 根据ID获取博客详情
 * @param {number|string} id 博客ID
 */
export const getBlogDetail = (id) => {
  return request.get(`/blogs/${id}`)
}
